/* 登录样式 */

.form-container {
  max-width: 312px;
  padding: 19px 29px 29px;
  margin: 99px auto;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-container #submit {
  display: block;
  width: 100%;
}

/*首页样式*/

.container-fluid {
  min-height: 600px;
}

/*客户编辑*/

.form-table {
  display: block;
  width: 1080px;
  margin: 0 auto;
}

.form-table .tr {
  display: block;
  width: 1080px;
  clear: both;
}

/*单列宽（三分之一）*/

.form-table .tr .td {
  display: block;
  float: left;
  padding: 0;
  width: 360px;
}

/*两列宽*/

.form-table .tr .col2 {
  width: 720px;
}

/*三列宽*/

.form-table .tr .col3 {
  width: 1080px;
}

/*单列宽（4分之1）*/

.form-table .tr .col1 {
  width: 270px;
}

/*整行减标题宽*/

.form-table .tr .col {
  width: 1000px;
}

.form-table .tr .td label {
  float: left;
  width: 75px;
  font-size: 14px;
  font-weight: 600;
  line-height: 40px;
  margin: 0;
}

.form-table .tr .td .controls {
  float: left;
}

.form-table .tr .td input,
.form-table .tr .td select {
  box-sizing: content-box;
  width: 260px;
  height: 20px;
  margin: 5px 0;
}

.form-table .tr .td label.inline {
  float: none;
  width: auto;
  padding: 0;
  font-weight: 400;
  color: #666;
  margin: 0 10px 0 0;
}

.form-table .tr .td input[type="radio"],
.form-table .tr .td input[type="checkbox"] {
  width: 14px;
  padding: 0;
  margin: 10px 0px 0 5px;
}

.form-table .tr .td .controls.upload input {
  float: none;
}

.form-table .tr .td .controls.upload label {
  float: none;
  display: inline;
  line-height: 1;
  margin: 0 0 0 12px;
}

.form-table .tr .td .controls.upload .uploadFile input {
  width: 70px;
  padding: 0;
  margin: 0;
  height: 28px;
}

/*客户筛选*/

#filterContainer.folded {
  height: 0;
  overflow: hidden;
}

#filterContainer .control-group {
  margin-bottom: 10px;
}

#filterContainer .control-label {
  width: 120px;
  text-align: left;
}

#filterContainer .controls {
  margin-left: 120px;
}

#filterContainer input[type="text"] {
  width: 480px;
}

#filterContainer select {
  width: 240px;
}

#filterContainer .checkbox {
  display: inline-block;
  padding: 3px 5px;
  background-color: #eee;
  margin-right: 5px;
  border: 1px dashed #999;
  cursor: pointer;
}

#filterContainer .checkbox.selected {
  background-color: #08c;
  color: #fff;
  border-color: #08c;
}

.filter-table td.selected {
  background-color: #08c !important;
}

.filter-table td.selected .btn-link {
  color: #fff;
}

/*服务流程*/

.process {
  margin: 60px 80px;
  display: table;
}

.process:after {
  content: "";
  display: block;
  clear: both;
}

.process .process-point {
  float: left;
  position: relative;
  width: 100px;
  height: 100px;
  margin: 120px 20px;
}

.process .process-point:after {
  content: "";
  position: absolute;
  top: 44px;
  left: 114px;
  display: inline-block;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url(../plugins/Bootstrap/img/glyphicons-halflings.png);
  background-position: -264px -96px;
  background-repeat: no-repeat;
}

.process .process-point:last-child:after {
  display: none;
}

.process .process-point .process-point-date {
  position: absolute;
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  font-size: 20px;
  color: #0e74a7;
  background-color: #d7ecf3;
  border: 1px solid #1f87bb;
  border-radius: 50%;
}

.process .process-point .process-point-content {
  position: absolute;
  left: -20px;
  width: 120px;
  margin: 20px 0;
  min-height: 60px;
  padding: 10px;
  line-height: 20px;
  font-size: 14px;
  color: #217307;
  background-color: #e4f3df;
  border: 1px solid #56ad1f;
  border-radius: 5px;
}

.process .process-point .process-point-content p {
  margin-left: 0;
}

.process .process-point .process-point-content p:last-child {
  margin-bottom: 0;
}

.process .process-point .process-point-content p:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 14px;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url(../plugins/Bootstrap/img/glyphicons-halflings.png);
  background-position: -144px -144px;
  background-repeat: no-repeat;
}

.process .process-point:nth-child(odd) .process-point-content {
  bottom: 99px;
}

.process .process-point:nth-child(even) .process-point-content {
  top: 100px;
}

.process .process-point .process-point-content:after {
  content: "";
  display: block;
  position: absolute;
  left: 70px;
  width: 0;
  height: 20px;
  border-left: 1px solid #169a94;
}

.process .process-point:nth-child(odd) .process-point-content:after {
  bottom: -21px;
}

.process .process-point:nth-child(even) .process-point-content:after {
  top: -20px;
}

/*弹出模态框span做label样式*/

.pop-label {
  display: inline-block;
  width: 70px;
  text-align: left;
  margin: 0;
  vertical-align: top;
  padding: 5px 10px 15px 20px;
}

/*开关*/

.testswitch {
  position: relative;
  float: left;
  width: 50px;
  margin: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.testswitch-checkbox {
  display: none;
}

.testswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 11px;
  margin: 0;
}

.testswitch-inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  transition: all 0.2s ease;
}

.testswitch-inner::before,
.testswitch-inner::after {
  display: block;
  float: right;
  width: 50%;
  height: 20px;
  padding: 0;
  line-height: 21px;
  font-size: 13px;
  color: white;
  box-sizing: border-box;
}

.testswitch-inner::after {
  content: attr(data-on);
  padding-right: 18px;
  background-color: #5c5;
  color: #fff;
  text-align: center;
}

.testswitch-inner::before {
  content: attr(data-off);
  padding-left: 18px;
  background-color: #e55;
  color: #fff;
  text-align: center;
}

.testswitch-switch {
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  background: #fff;
  top: 0;
  bottom: 0;
  right: 28px;
  border: 1px solid #ddd;
  border-radius: 9px;
  transition: all 0.2s ease;
}

.testswitch-checkbox:checked + .testswitch-label .testswitch-inner {
  margin-left: 0;
}

.testswitch-checkbox:checked + .testswitch-label .testswitch-switch {
  right: 0px;
}

footer {
  min-height: 40px;
  padding-right: 20px;
  padding-left: 20px;
  background-color: #fafafa;
  background-image: -moz-linear-gradient(top, #fff, #f2f2f2);
  background-image: -webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(#fff),
    to(#f2f2f2)
  );
  background-image: -webkit-linear-gradient(top, #fff, #f2f2f2);
  background-image: -o-linear-gradient(top, #fff, #f2f2f2);
  background-image: linear-gradient(to bottom, #fff, #f2f2f2);
  background-repeat: repeat-x;
  border: 1px solid #d4d4d4;
  border-width: 1px 0;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
}

footer p {
  margin: 20px auto;
}
